import Toast   from "@/utils/Toast";
//判断是否为新用户 是就跳转到登录页面
export async function getLogin(data) {
    if (data) {
        try {
            const url = `/pages/account/account_login?openId=${data.openid}`;
            await uni.navigateTo({
                url: url,
            });
        } catch (error) {
            Toast.info(error)
        }
    }
}